package com.tarry.strategy;

/**
 * 减法
 */
public class OperationSub implements CalculateStrategy {
    @Override
    public double doOperation(double num1, double num2) throws Exception {
        return num1 - num2;
    }
}
